package com.android.sgzcommon.activity.utils;

import com.android.sgzcommon.http.okhttp.upload.UploadResultSet;

public class MUploadResultSet extends UploadResultSet {

    @Override
    protected String okName() {
        return null;
    }

    @Override
    protected String respCodeName() {
        return "success";
    }

    @Override
    protected boolean isSuccess(boolean ok, int netCode, String respCode) {
        return "true".equals(respCode);
    }

    @Override
    protected String dataName() {
        return "";
    }

    @Override
    protected String getMessageName() {
        return "message";
    }
}